package cn.stylefeng.guns.sys.modular.dataClean.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 数据清洗表
 * </p>
 *
 * @author author
 * @since 2020-11-19
 */
@TableName("data_data_clean")
public class DataClean implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据清洗id
     */
    @TableId(value = "data_data_clean_id", type = IdType.AUTO)
    private Integer dataDataCleanId;

    /**
     * 清洗元数据名称
     */
    @TableField("job_id")
    private String jobId;

    /**
     * 清洗元数据名称
     */
    @TableField("metadata_name")
    private String metadataName;

    /**
     * 清晰标准名称
     */
    @TableField("clean_rule_name")
    private String cleanRuleName;

    /**
     * 问题数据量
     */
    @TableField("problem_data_number")
    private Integer problemDataNumber;

    /**
     * 是否删除；0代表删除；1代表可用
     */
    @TableField("is_delete")
    private Integer isDelete;


    public Integer getDataDataCleanId() {
        return dataDataCleanId;
    }

    public void setDataDataCleanId(Integer dataDataCleanId) {
        this.dataDataCleanId = dataDataCleanId;
    }

    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getMetadataName() {
        return metadataName;
    }

    public void setMetadataName(String metadataName) {
        this.metadataName = metadataName;
    }

    public String getCleanRuleName() {
        return cleanRuleName;
    }

    public void setCleanRuleName(String cleanRuleName) {
        this.cleanRuleName = cleanRuleName;
    }

    public Integer getProblemDataNumber() {
        return problemDataNumber;
    }

    public void setProblemDataNumber(Integer problemDataNumber) {
        this.problemDataNumber = problemDataNumber;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    @Override
    public String toString() {
        return "DataClean{" +
                "dataDataCleanId=" + dataDataCleanId +
                "jobId=" + jobId +
                ", metadataName=" + metadataName +
                ", cleanRuleName=" + cleanRuleName +
                ", problemDataNumber=" + problemDataNumber +
                ", idDelete=" + isDelete +
                "}";
    }
}
